package com.example.mymatch.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 出差实体类
 * 编写者：杨滢
 */

public class Busi {
    private int id;
    private int busiId;
    private String busiName;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date busiStart;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date busiEnd;
    private String busiPlace;
    private String busiPerson;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date busiTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBusiId() {
        return busiId;
    }

    public void setBusiId(int busiId) {
        this.busiId = busiId;
    }

    public String getBusiName() {
        return busiName;
    }

    public void setBusiName(String busiName) {
        this.busiName = busiName;
    }

    public Date getBusiStart() {
        return busiStart;
    }

    public void setBusiStart(Date busiStart) {
        this.busiStart = busiStart;
    }

    public Date getBusiEnd() {
        return busiEnd;
    }

    public void setBusiEnd(Date busiEnd) {
        this.busiEnd = busiEnd;
    }

    public String getBusiPlace() {
        return busiPlace;
    }

    public void setBusiPlace(String busiPlace) {
        this.busiPlace = busiPlace;
    }

    public String getBusiPerson() {
        return busiPerson;
    }

    public void setBusiPerson(String busiPerson) {
        this.busiPerson = busiPerson;
    }

    public Date getBusiTime() {
        return busiTime;
    }

    public void setBusiTime(Date busiTime) {
        this.busiTime = busiTime;
    }

}
